<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <meta name="description" content="">
    <meta name="author" content="">
    <title>购物商城注册首页</title>
    <!-- Bootstrap core CSS -->
    <link href="/asserts/css/bootstrap.min.css" rel="stylesheet">
    <!-- Custom styles for this template -->
    <link href="/asserts/css/signin.css" rel="stylesheet">
</head>

<body class="text-center" background="/asserts/img/index_background.jpg"
      style=" background-repeat:no-repeat ;
background-size:100% 100%;
-moz-background-size:100% 100%;">
<form class="form-signin" action="register">
    <img class="mb-4" src="/asserts/img/京东阿里.jpg" alt="" width="150" height="100">
    <h1 class="h3 mb-3 font-weight-normal" th:text="#{Register.regis}">Please register</h1>
    <input type="text" class="form-control" placeholder="账号" th:placeholder="#{Register.username}" required="" autofocus="" name="账号">
    <input type="password" class="form-control" placeholder="密码" th:placeholder="#{Register.pwd}"  required="" name="密码">
    <input type="text" class="form-control" placeholder="姓名" required="" th:placeholder="#{Register.name}" autofocus="" name="真实姓名">
    <input type="text" class="form-control" placeholder="电话" required="" th:placeholder="#{Register.tel}" autofocus="" name="电话">
    <input type="text" class="form-control" placeholder="收货地址" th:placeholder="#{Register.place}" required="" autofocus="" name="收货地址">
    <input type="text" class="form-control" placeholder="QQ" th:placeholder="#{Register.QQ}" required="" autofocus="" name="QQ">
    <input type="text" class="form-control" placeholder="邮箱" th:placeholder="#{Register.mail}" required="" autofocus="" name="邮箱">
    <div class="checkbox mb-3">

        <label>
            <a href="隐私协议.html" name="个人隐私协议" th:text="#{Register.privacy}" style="font-size: 15px">个人隐私协议说明</a><br/>
            <input type="radio" name="同意" value="1">[[#{Register.agree}]]
            <input type="radio" name="同意" value="0">[[#{Register.disagree}]]
        </label>
    </div>
    <button class="btn btn-lg btn-primary btn-block" type="submit" th:text="#{Register.Regis}">注册</button>

    <p class="mt-5 mb-3 text-muted">© 2020</p>
    <a class="btn btn-sm" th:href="@{/Register(l='zh_CN')}">中文</a>
    <a class="btn btn-sm" th:href="@{/Register(l='en_US')}">English</a>

</form>
</body>

</html>